package com.dlc.shop.bean.event;
import com.dlc.shop.bean.bo.ProductBO;
import com.dlc.shop.bean.enums.EsOperationType;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 *  es商品事件， 获取商品信息
 * @author lhd
 */
@Data
@AllArgsConstructor
public class EsProductEvent {

    private List<Long> prodIds;
    private List<ProductBO> productList;
    /**
     * 操作类型
     * 枚举类： com.dlc.shop.bean.enums.EsOperationType
     */
    private EsOperationType operationType;
}
